LPN unlinking

Use this transaction to perform the following actions:

  • Unlink one or several stock lines from a license plate number (LPN). You can also unlink all the lines at the same time.

  • Generate stock change movements and create a stock change document in Sage X3.

Prerequisites

In Sage X3, perform the actions described below.

Functional prerequisites

Mobile Automation setup (FUNADCSEARCH)

Open: Setup > Stock > Mobile Automation setup

  1. Go to the Stock search section.

  2. Select the Container operation flow type.

  3. Define the stock search filters that you want to use in this transaction. You can define up to 8 filters. These stock search filters are the same for the LPN linking, LPN unlinking, and LPN splitting transactions.

Note - informationIn these transactions, these filters do not display in the order in which you have defined them in the Mobile Automation setup function. They always display in the following order: Lot, Sublot, Serial number (when the management mode is Received/Issued), Status, Packing unit, PAC/STK conversion factor, Identifier 1 and Identifier 2, Custom field 1 and Custom field 2.

Web service prerequisites

  1. Open: Administration > Web services > Classic SOAP pools configuration

    Stop the web service pool.

  2. Import/export templates (GESAOE)

    Open: Setup > Usage > Imports / exports > Import/export templates

    Validate the CWSLPNO import template.

  3. Web services (GESAWE)

    Open: Development > Script dictionary > Scripts > Web services

    Publish the AOWSIMPORT web service.

  4. Open: Administration > Web services > Classic SOAP pools configuration

    Start the web service pool.

How to unlink stock lines from an LPN

Open: LPN > LPN unlinking

To unlink different stock lines from an LPN, enter information on 3 pages:

  • The initial page is used to select the LPN and the product to be unlinked from the LPN. You can also select a default destination location for all the unlinked stock lines.
  • The second page is used to select the product stock lines. From this page, you can also perform the following actions:
    • Display the stock line details
    • Enter the exact quantity to unlink from the LPN
  • The third page is used to validate the creation of the stock change document and validate the stock movement.

To unlink all stock lines from an LPN, select the LPN, turn on the Unlink all switch, select the destination location and tap Create.

Operating mode

  1. On the initial page, check that the Change date and Site default values are correct.
  2. Scan, select or enter the License plate number.

  3. Select the stock lines to be unlinked from the selected LPN. You have two possibilities:

    1. You can unlink all the stock lines from the LPN at the same time.

      1. Turn the Unlink all switch on

      2. Scan, select or enter the Destination location for the unlinked stock lines.

    2. You can unlink only some of the stock lines from the selected LPN. Leave the Unlink all switch turned off.

      1. Scan, select or enter the Product to be unlinked from the LPN.

      2. Scan, select or enter the default Destination location for the unlinked stock lines.

      3. Tap Next to display the full list of stock lines for the product linked to the LPN. You can filter the list based on the selection filters displayed in the header. These filters are defined in the Mobile Automation setup function (FUNADCSEARCH). Refer to the Functional prerequisites.

      4. Select the checkbox for each complete stock line that you want to unlink from the LPN. To access the stock line details, tap the line. You can enter a smaller quantity, the destination location and select the stock details. Tap Select to validate the entered information and display the previous page: The quantity is updated, and the checkbox is automatically selected.

      5. Tap Next when you have selected the stock lines and stock details to be unlinked from the LPN. You are automatically redirected to the initial page. The stock lines to be unlinked from the LPN are listed at the bottom of the screen. You are ready to complete one of the following actions:

        • Unlink another product from the same LPN, if this LPN is not defined in the License plate number function (GESLPN) as a single-product managed LPN: Repeat steps 4 to 7.

        • Validate the creation of the stock change document: Go to step 4.

        • Delete a line: Tap the delete icon

  4. Tap Create to validate the stock change movement.

    • If you were able to proceed with the creation, the generated stock change number displays. The stock change document and its associated movements are created.

    • If you could not proceed with the creation, an error or information message displays.

      • Tap Go back to display the previous page.

      • Tap Cancel to delete all the stock changes.

Step by step

LPN unlinking initial page

  • The Change date defaults to today's date. You can change it until you tap Create, and only to an earlier date. This date applies to all the changes performed in the same document.

  • The Site defined in the Site screen displays automatically. You cannot modify it on the current page.

Enter the LPN unlinking selection details.

  • Scan, select or enter the License plate number.
  • To be able to select the product and the stock lines you want to unlink from the LPN, leave the Unlink all switch off.
  • To select all the stock lines from the LPN at the same time, turn the Unlink all switch on.

Scan, select or enter the Product to be unlinked from the LPN. If you have tuned the Unlink all switch on, you cannot access this field.

You can scan, select or enter the Destination location. This destination is used as the default destination for unlinked stock lines.

If you have turned the Unlink all switch on, the Destination location is mandatory.

  • If you don't unlink all the stock lines from the LPN, tap Next to display the Select stock page. The Create button is not available.

  • If you unlink all the stock lines from the LPN, tap Create to validate the creation of the stock change document and generate the stock movements.

LPN unlinking - Select stock

Use this page to select the stock lines to be unlinked from the LPN.


The header displays the following information:

  • The selected LPN
  • The location of the LPN
  • The selected product code
  • The lot number if the product is defined as a single lot product

The filters defined in the Mobile Automation setup function (FUNADCSEARCH) display here. Use them to filter the list of stock lines.

The list of stock lines displays.

Each stock line displays the following information:

  • The quantity to be unlinked from the LPN, related to the stock line quantity.

  • The location

  • The product code

  • Information linked to the filters displayed in the header. In this example, the lot number.

 

You can perform the following actions:

  • Unlink the entire stock line: Select the checkbox.

  • Unlink a quantity smaller than the total quantity and select the stock details: Tap the line. The next LPN unlinking - Select stock page displays the stock details.

 

Tap Next to display the initial page with the selected stock lines to be unlinked from the LPN. You are ready to perform the following actions:

LPN unlinking - Select stock

When you tap a stock line, a page displays the stock details. You can enter a quantity smaller than the quantity in stock.

     

 
   
   
   
   
   
 

 

Update the quantity to unlink.
Scan, select or enter the Destination location. The default destination that you entered on the initial page displays. You can change it.
   

Depending on how the product is managed, you might need to select the related stock details.
For example, if the product is managed by global serial number, you need to select the range of serial numbers to be unlinked.

   
   
   
Keep or update the quantity to unlink.
Scan, select or enter the Destination location. The default destination you entered on the initial page displays. You can change it.

Select the Starting serial number. The Ending serial number is automatically selected based on the quantity.

Note - errorOnly sequential serial numbers can be selected: The quantity you enter must be consistent with the range of serial numbers.
Tap the + icon to validate your selection and display a summary of the selected stock details.
     
   

 
   
   
   
   
   
   
   

A summary of the selected stock details displays. You can repeat the previous step:

  1. Add another quantity and another range of serial numbers.

  2. Tap the + icon to validate your selection.

   
 

When you have selected all the serial numbers to unlink, tap one of the following actions:

  • Cancel to cancel the entered information and go back to the previous LPN unlinking - Select stock page.

  • Select to validate the entered information. The previous LPN unlinking - Select stock page displays. The checkbox for the stock line is automatically selected for the requested quantity.

Create the stock change document and generate stock movements

When you have selected all the stock lines along with the quantity and stock details, tap Next to display the initial page with the selected stock lines.

   
   

The list of LPNs in unlinking progress displays at the bottom of the page and provides the following information:

  • Number of stock lines to be unlinked from the LPN
  • List of product codes

You are ready to perform the following actions:

  • Remove another product from the same LPN and same stock site. Repeat the same steps as defined previously.

  • Delete an LPN unlinking: Tap the delete icon.

   

Tap Create when you have completed unlinking your LPNs and you are ready to validate the creation of the stock change document and generate the stock movements.

     

 

 

 

A GraphQL payload is sent to Sage X3. The data of this payload is mapped with the CWSLPNO import template which is called by the import-type AOWSIMPORT SOAP web service.

A message displays the generated document number.

 

When the stock change document and the stock movements are created, you can display the result in the following Sage X3 functions:

  • License plate number operations function (GESLPNOPE)

  • Stock transactions inquiry (CONSSMV)

   
   

Limitations

When you turn on the Unlink all switch, you can unlink a maximum of 50 stock lines from the LPN at the same time. If more than 50 stock lines are assigned to the LPN, you need to select the lines one by one.